#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QString>
#include "model.h"
#include "glrenderer.h"
#include "lightdialog.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
signals:
    void openOBJ(QString filename);
    void openAM(QString filename);
    void exportOBJ(QString filename);
    void exportAM(QString filename);
public slots:
    void dialogOpenOBJ();
    void dialogExportAM();
    void displayModel(model * m);
private:
    Ui::MainWindow * ui;
    LightDialog * m_LightDialog;
    GLRenderer * m_GLRenderer;
    QString m_Filename;
};

#endif // MAINWINDOW_H
